package com.znsd.study.service.impl;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.study.dao.CurriculumDao;
import com.znsd.entitys.CurriculumInfo;
import com.znsd.study.service.CurriculumService;
@Service
public class CurriculumServiceImpl implements CurriculumService{
	
	@Autowired 
	private CurriculumDao cd;
	
	@Override
	public List<CurriculumInfo> currList(String cid) {
		// TODO Auto-generated method stub
		return cd.currList(cid);
	}

	@Override
	public long addCurr(CurriculumInfo curr) {
		// TODO Auto-generated method stub
		return cd.addCurr(curr);
	}
	
	//全部的上传记录
	@Override
	public List<CurriculumInfo> getListCurr(Integer page,Integer row) {
		// TODO Auto-generated method stub
		return cd.getListCurr( page, row);
	}

	@Override
	public long currCount() {
		// TODO Auto-generated method stub
		return cd.currCount();
	}

	@Override
	public List<CurriculumInfo> getSingleListCurr(Integer user_id, Integer page, Integer rows) {
		// TODO Auto-generated method stub
		return cd.getSingleListCurr(user_id, page, rows);
	}

	@Override
	public long currSingCount(Integer user_id) {
		// TODO Auto-generated method stub
		return cd.currSingCount(user_id);
	}

	@Override
	public long delCurr(Integer id) {
		// TODO Auto-generated method stub
		return cd.delCurr(id);
	}

	@Override
	public long huanCurr(Integer id) {
		// TODO Auto-generated method stub
		return cd.huanCurr(id);
	}

	@Override
	public List<CurriculumInfo> souListCurr(String sou, Integer page, Integer rows) {
		// TODO Auto-generated method stub
		return cd.souListCurr(sou, page, rows);
	}

	@Override
	public long souCurrCount(String sou) {
		// TODO Auto-generated method stub
		return cd.souCurrCount(sou);
	}

	@Override
	public List<CurriculumInfo> getSingleCurrSou(String grsou,Integer user_id, Integer page, Integer rows) {
		// TODO Auto-generated method stub
		return cd.getSingleCurrSou(grsou,user_id, page, rows);
	}

	@Override
	public long currSingCountSou(String grsou, Integer user_id) {
		// TODO Auto-generated method stub
		return cd.currSingCountSou(grsou, user_id);
	}

}
